package utils;

public class SnowflakeUuid {
    private static final Snowflake SNOWFLAKE = new Snowflake(1010L);

    /**
     * 生成唯一标识
     * 雪花id md5 hash 生成
     *
     * @return
     */
    public static String uuid() {
        return Md5Utils.hash(String.valueOf(SNOWFLAKE.nextId()));
    }
}
